package top.vains.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 角色权限传输类
 *
 * @author vains
 * @version 1.0
 * @since 2020/3/4 21:27
 **/
@Data
@Accessors(chain = true)
@Api(tags = "角色权限传输类")
@EqualsAndHashCode(callSuper = false)
public class RolePermissionDto {

    @ApiModelProperty(name = "角色id", notes = "角色id", dataType = "Integer")
    private Integer roleId;

    @ApiModelProperty(name = "权限id", notes = "权限id", dataType = "List<Integer>")
    private List<Integer> permissionId;

}
